package com.example.demo.qy.model;

import com.example.demo.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "qy_goods")
public class Goods extends BaseEntity {

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品简介")
    private String profile;

    @ApiModelProperty(value = "商品内容")
    private String content;

    @ApiModelProperty(value = "商品封面图")
    private String cover;

    @ApiModelProperty(value = "商品分类")
    private String tag;

}
